import React from 'react'
import ReactDOM from 'react-dom'
import './index.css'
import App from './App'
// 1. 引入根组件 Provider
import { Provider } from 'react-redux'
// 2. 引入 store
import store from './store'
// 3. Provider 作为根组件，store作为属性传入
ReactDOM.render(
	<Provider store={store}>
		<App />
	</Provider>,
	document.getElementById('root')
)
